Part Number Hot Search : 
AWT6276R 7C126 SFT504 P8802 DF02S T1010DH 24C02N C1Z160B
Product Description
Full Text Search
 

To Download DSP56002EVMUM Datasheet File

  If you can't view the Datasheet, Please click here to try to view without PDF Reader .  
 
 


  Datasheet File OCR Text:
  digital signal processing division this document has been designed for users who have little or no experience with dsp development tools. it provides a step-by-step guide to the installation and execution of the supplied demo(s). it also contains a number of worked examples showing how to write, assemble, and debug some simple programs using the hardware and software provided. for full understanding of the dsp56002 and of the dsp56002evm, this document should be read in conjunction with the manuals provided. f r e e s c a l e s e m i c o n d u c t o r , i freescale semiconductor, inc. f o r m o r e i n f o r m a t i o n o n t h i s p r o d u c t , g o t o : w w w . f r e e s c a l e . c o m n c . . .
2 digital signal processing division 1. equipment the following section will give a brief summary of the equipment required to use the evm, some of which will be supplied with the evm, and some of which will have to be supplied by the user. 1.1 what you get with the evm ? evm board ? 3.5 disk titled debug - evm ? debug - evm manual ? dsp56002 users manual ? dsp56000 family manual ? dsp56002 data sheet ? cs4215 data sheet ? evm schematics ? quick start document ? the main board documentation is in the form of a read.me file on the evm software disk. 1.2 what you need to supply ? a pc (386 class or higher) with 2mbytes of memory, a 3.5 floppy disk drive, and a serial port capable of 19,200 baud ? an rs-232 cable (db-9 male to db-9 female) ? a power supply, between 7 v and 9 v @ 700 ma (a.c. or d.c.) ? in order to use the demo, an audio source, headphones, and cables (with 1/8 stereo plugs) to connect into the audio part of the board. 2. installation procedure insert the debug - evm disk into the floppy disk drive, ensure that you are have selected the correct drive, and type install you will be asked to specify the source drive, which will be your floppy disk drive, and to specify the destination drive, which should be your hard drive. a directory will then be created on the hard drive called evm. this directory will contain all the files you require to use the dsp56002evm. the evm software is now installed. f r e e s c a l e s e m i c o n d u c t o r , i freescale semiconductor, inc. f o r m o r e i n f o r m a t i o n o n t h i s p r o d u c t , g o t o : w w w . f r e e s c a l e . c o m n c . . .
digital signal processing division 3 3. running the demo the evm software includes a demonstration program. this demonstration is designed to show the advantage of 24-bit dsps over 16-bit dsps. the following section gives step by step instructions on how to run this demo. figure 1: main features of the evm 3.1 connecting the board for the demo when you receive the board some jumpers should already have been fitted on j8, j10, and j12. please ensure that these jumpers have been fitted as shown in the diagram above. use the rs-232 cable to connect the pcs serial port to the db-9 connector labelled once on the evm. this will enable the board to be controlled from the pc. to run the demo you need a music source (with a phones output) which must be connected to the stereo input port labelled in and a pair of headphones connected to the cs4215 in hdphne out space for eeprom music source headphones line level output j4 j2 j17 j12 j13 32k x 8 fsram 32k x 8 fsram 32k x 8 fsram j11 j7 j8 j10 dsp56002 2.1mm screw te r m i n a l s once host power supply inputs 7-9v a.c. or d.c. to be connected to the serial port of the pc f r e e s c a l e s e m i c o n d u c t o r , i freescale semiconductor, inc. f o r m o r e i n f o r m a t i o n o n t h i s p r o d u c t , g o t o : w w w . f r e e s c a l e . c o m n c . . .
4 digital signal processing division port labelled hdphne. connect the power supply to the board using either the 2.1mm jack plug, or the screw terminals. when you switch on the power supply, the green led on the board should light. 3.2 starting the demo to start the demo, first start the music source and put on the headphones. then simply type demo from the evm directory. full details of how to work the demo, and what it demonstrates will be displayed on screen. after the instruction page, the demo will start, and the graphical user interface (gui) will appear on the screen. details on the gui will follow in section 4.3. note: if a message appears to say that the gui cannot communicate with the board, try changing the position of the jumpers on j8, as shown in the diagram below. figure 2: alternative configuration of j8 a number of commands will then be executed. you will notice that the red led is lit during the execution of these commands. this indicates that the dsp is in debug mode. the demo can then be controlled using the methods described in the instruction page. i.e. to hear the input signal with the added 60 hz tone, briefly connect j17 pin 1 to ground. to hear the result of the filter with the 24-bit coefficients, briefly connect j17 pin 3 to ground. to hear the result of the filter with the same coefficients, but rounded to 16-bits, briefly connect j17 pin 2 to ground. it is suggested that you touch the relevant pin on j17 to pin 16 (bottom right hand corner) of j7. j8 j8 f r e e s c a l e s e m i c o n d u c t o r , i freescale semiconductor, inc. f o r m o r e i n f o r m a t i o n o n t h i s p r o d u c t , g o t o : w w w . f r e e s c a l e . c o m n c . . .
digital signal processing division 5 figure 3: details of pins required to run demo the reason that the contrast between the two filters is so vast is due to the fact that with 16-bit coefficients, it is impossible to place the notch of the filter exactly on 60 hz. it is slightly offset and will therefore miss the noise. with the 24-bit coefficients, it is possible to place the filter on exactly 60 hz. 3.3 stopping the demo to stop the execution of the demo, type force r in the command window in the bottom left corner of the screen. to exit the gui, type quit . j17 1 2 3 j7 16 (gnd) (irqa ) (irqb ) (nmi ) f r e e s c a l e s e m i c o n d u c t o r , i freescale semiconductor, inc. f o r m o r e i n f o r m a t i o n o n t h i s p r o d u c t , g o t o : w w w . f r e e s c a l e . c o m n c . . .
6 digital signal processing division 4. a simple program - worked example 1 the following section contains a worked example detailing how to develop a very simple program for the dsp. it will demonstrate the form of assembly programs, give instructions on how to assemble programs, and show how the gui can be used to verify the operation of, and, if necessary, to debug the program. 4.1 writing the program the program can be edited using one of a large number of standard editors, e.g ms-dos edit, turbo c editor, emacs, etc. it is also possible to use a word processor if it has a save as text option. the following program will perform the very simple task of adding two numbers together. note: it is important to remember that the 56000 family of processors use fractional arithmetic. please read dsp56000 family manual section 3.3: data representa- tion and rounding if you are unfamiliar with the dsp56000 family. note: a semi-colon (;) comments to the end of the line. labels must be left justified ;************************************************************************** ;a simple program ;************************************************************************** ;this simple program will add two numbers ;************************************************************************** ;y memory ;************************************************************************** org y:$0 ;instructs the assembler that we ;are referring to y memory starting ;at location 0 input1 dc $1234 ;y:input1 is defined as a $1234 ;$ indicates a hexadecimal value result ds 1 ;reserve a single word of space in ;y memory. label it result ;************************************************************************** ;x memory ;************************************************************************** org x:$0 ;instruct the assembler that we are ;now referring to x data memory, ;starting at location 0 input2 dc $2345 ;x:input2 is defined as $2345 ;************************************************************************** f r e e s c a l e s e m i c o n d u c t o r , i freescale semiconductor, inc. f o r m o r e i n f o r m a t i o n o n t h i s p r o d u c t , g o t o : w w w . f r e e s c a l e . c o m n c . . .
digital signal processing division 7 ;program ;************************************************************************** org p:0 ;put following program in program ;memory starting at location 0 jmp begin ;p:0 is the reset vector i.e where ;the dsp looks for instructions ;after a reset org p:$40 ;start the main program at p:$40 ;above the main interrupt vectors begin move y:input1,y0 ;load input1 into register y0 move x:input2,a ;move input2 into accumulator a add y0,a ;add input1 to input 2 move a,y:result ;store the result at location ;y:result jmp * ;this is equivalent to ;label jmp label ;and is therefore a never-ending, ;empty loop ;************************************************************************** ;end of the simple program ;************************************************************************** note: for more information on interrupt vectors refer to dsp56000 family manual, section 7.3: exception processing state (interrupt processing) once you have typed in this file, save it as add2num.asm and quit the editor. 4.2 assembling the program to assemble the program you have written, type asm56000 -a -b -l add2num.asm provided there are no errors, this will create 2 additional files: add2num.cld add2num.lst the .cld file is the assembled version of the program, and this is what will be downloaded onto the device. the .lst file is the list file which gives full details of where program and data will be placed in the dsp memory. if errors are reported, recheck the source (.asm) file. 4.3 introduction to the gui this section will give a brief introduction to the gui, detailing only that which is required to work through the example. full details of the gui can be found in the debug - evm manual. f r e e s c a l e s e m i c o n d u c t o r , i freescale semiconductor, inc. f o r m o r e i n f o r m a t i o n o n t h i s p r o d u c t , g o t o : w w w . f r e e s c a l e . c o m n c . . .
8 digital signal processing division to start up the gui, type evm56k . the display you will see should be similar to the figure below. figure 4: the gui the data window, shown in the top left corner displays the data. to display the contents of x data memory, starting at location x:0, click in the command window and type: display x:0 . the radix in which the data is shown can be changed by clicking the box which is shown as containing the word hex in the diagram above. data can also be displayed in a graphical form. to do this type: display x:0 -graph . to change back to text type: display x:0 -text . the unassemble window shows an unassembled version of the contents of program memory. the next instruction to be executed will be highlighted. as already shown the command window is where once commands (i.e the controlling commands) are entered. the registers window shows the contents of the registers of the alu (arithmetic logic unit) and the agu (address generation unit). 4.4 verifying and debugging programs to load the add2num program developed earlier, click in the command window and type: load add2num . data hex unassemble command registers hex menu evm> f r e e s c a l e s e m i c o n d u c t o r , i freescale semiconductor, inc. f o r m o r e i n f o r m a t i o n o n t h i s p r o d u c t , g o t o : w w w . f r e e s c a l e . c o m n c . . .
digital signal processing division 9 note: the previous contents of the memory which are not overwritten will remain unchanged the instruction at p:0 will be highlighted as this will be the first instruction to be executed. however, before we start to execute the program we should check that the values we expect to be in data memory are there. to do this type: display y:input1 and then display x:input2 to step through the program, type step at the command prompt. shortcuts: instead of typing in the entire command, type the start of the command, and by pressing the space bar, the gui will complete the remainder. to repeat the last command, simply press return. as you step through the code, you will see the instructions having an effect on the registers shown in the registers window. once you have stepped through the program, ensure that the program has executed correctly, by checking that y:result contains the value $3579. stepping through the program like this is good for short programs, but is impractical for large complex programs. the way to debug large programs is to set breakpoints . these are user defined points at which execution of the code will stop allowing the user to step through the section of interest. to set a breakpoint in the add2num to check the result in accumulator a before it is moved into y memory, the command is: break p:$43 . you will see the breakpoint indicated in the unassemble window. to point the dsp back to the start point of the program, type: change pc 0 . this changes the program counter such that it is pointing to the reset vector. to start the program running, the command is go . the dsp will stop when it reaches the breakpoint, you will then be able to step through the remainder of the code. 4.5 exiting the gui to exit from the gui, type quit at the command prompt. note: the data you have asked to be displayed will be the first value in the data window. if it looks incorrect, check the radix. f r e e s c a l e s e m i c o n d u c t o r , i freescale semiconductor, inc. f o r m o r e i n f o r m a t i o n o n t h i s p r o d u c t , g o t o : w w w . f r e e s c a l e . c o m n c . . .
10 digital signal processing division 5. another simple example - worked example 2 the following section will give details of another worked example. this one is slightly more complicated than the previous one and will demonstrate the use of the addressing modes, and how to configure the external memory. 5.1 writing the program this file will take two lists of data, one in internal x memory, one in external y memory, and calculate the sum of the products of the two lists. calculating the sum of products is the basis for many dsp functions, therefore the dsp has a special instruction (the mac instruction) which multiples two values and adds the result to the contents of an accumu- lator. note: you do not need to type this program, it is provided as qs_ex2.asm ;************************************************************************** ;worked example 2 ;************************************************************************** pbase equ $200 ;instruct the assembler to replace ;every occurrence of pbase with $200 xbase equ $0 ;used to define the position of the ;data in x memory ybase equ $200 ;used to define the position of the ;data in y memory bcr equ $fffe ;address, in x memory, of the ;bus control register org x:xbase ;internal x memory list1 dc $475638,$738301,$92673a,$898978,$091271,$f25067 dc $987153,$3a8761,$987237,$34b852,$734623,$233763 dc $f76756,$423423,$324732,$f40029 org y:$ybase ;external y memory list2 dc $f98734,$800000,$fedcba,$487327,$957572,$369856 dc $247978,$8a3407,$734546,$344787,$938482,$304f82 dc $123456,$657784,$567123,$675634 org p:0 jmp begin ;reset vector org p:pbase ;external program memory begin clr a ;clear accumulator a move #list1,r0 ;pointer to the start of list1 move #list2,r4 ;pointer to the start of list2 movep #0,x:bcr ;want zero wait state accesses to ;the external memory ;movep (move to peripheral) allows ;you to move immediate data into a f r e e s c a l e s e m i c o n d u c t o r , i freescale semiconductor, inc. f o r m o r e i n f o r m a t i o n o n t h i s p r o d u c t , g o t o : w w w . f r e e s c a l e . c o m n c . . .
digital signal processing division 11 ;memory location move x:(r0)+,x0 y:(r4)+,y0 ;load value in x memory pointed to ;by the contents of r0 into x0 and ;post-increment r0 ;load value in y memory pointed to ;by r4 into y0 and post-increment ;r4 do #15,endloop mac x0,y0,a x:(r4)+,x0 y:(r0)+,y0 ;parallelism allows arithmetic ;instruction, two data loads ;and two register post-increments ;to be done in one instruction ;cycle. endloop jmp * ;************************************************************************* note: the jmp * instruction is not inside the loop. note: there is a bug in this program. 5.2 external memory configuration there is an option to configure the external memory of the board in two different ways. full details of the corresponding memory maps are in the read.me file. the external memory map is controlled by the position of the jumper on j12. figure 5: unified memory map j12 p x y 0 $1ff $7ff internal external $ff f r e e s c a l e s e m i c o n d u c t o r , i freescale semiconductor, inc. f o r m o r e i n f o r m a t i o n o n t h i s p r o d u c t , g o t o : w w w . f r e e s c a l e . c o m n c . . .
12 digital signal processing division figure 6: partitioned memory map note: for more details on memory maps see section 3.2 in the dsp56002 users manual . with the memory configured as shown in figure 5, external memory is regarded as one large block. there is no separation between x, y, or p. in this configuration x:$1000, y:$1000, and p:$1000 are treated as the same memory cell. in the second configuration, the memory is divided into two areas. half of the external memory is mapped to y, and the remainder is unified between p and x memory. in this example we want to make use of external y memory, and external p memory, therefore we require the partitioned memory map. place the jumper on j12 accordingly. 5.3 debugging the program assemble and run the program as before. i.e: asm56000 -a -b -l qs_ex2.asm evm56k then put a breakpoint in the code at the jmp * instruction and type go at the command prompt. if the program was working correctly the result in accumulator a would be : $ fe 9f2051 6dfcc2 however there is a bug in the program, which you may have already spotted. debug the program! note: if you cant find the bug, see the solution at the bottom of the next page. j12 p x y 0 $1ff internal external $3fff $ff f r e e s c a l e s e m i c o n d u c t o r , i freescale semiconductor, inc. f o r m o r e i n f o r m a t i o n o n t h i s p r o d u c t , g o t o : w w w . f r e e s c a l e . c o m n c . . .
digital signal processing division 13 solution: registers r0 and r4 are used incorrectly inside the do loop. r0 should be used to point to the list which is in x memory, r4 should be used to point to the list in y memory. f r e e s c a l e s e m i c o n d u c t o r , i freescale semiconductor, inc. f o r m o r e i n f o r m a t i o n o n t h i s p r o d u c t , g o t o : w w w . f r e e s c a l e . c o m n c . . .
14 digital signal processing division 6. filtering audio - worked example 3 the following section contains a more complex worked example. this will show how to develop an application using the on-board codec, and the codec configuration file supplied with the evm software. 6.1 application requirements the end product of this worked example will be an assembly program which will take an audio signal, through the codec, subject it to a simple low pass filter, and output the result back through the codec. each step of the development will be documented. 6.2 configuring the codec the cs4215 is a sophisticated device and is therefore relatively complex to configure. an attempt has been made to isolate the user of the evm from this complexity by including the files ada_init.asm and txrx_isr.asm with the software. the file ada_init can be used to initialize the codec. it has been set up such that the parameters can be changed by the user easily by changing one of a few control words. the code will currently be in the format necessary for the demo with the 60 hz filter. it will remain the same for this demonstration. note: when including this file in your program, you must ensure that there is no con- flict in memory. e.g. the ada_init.asm program uses locations x:0..9, the users pro- gram should therefore not use these locations. 6.3 verifying the input and output of data the best and easiest way to verify that the codec is being configured correctly and that the data is being received and transmitted by the dsp correctly, is to simply pass the data straight through without any processing at all. the following program (which you will find as qs6_3.asm) will do this. ;************************************************************************** ;verifying the operation of the codec and the ssi ;this program will configure the codec, according to the parameters in the ;ada_init.asm file, and receive and then transmit audio data without ;affecting it. ;************************************************************************** start equ $40 org p:0 jmp start org p:$000c f r e e s c a l e s e m i c o n d u c t o r , i freescale semiconductor, inc. f o r m o r e i n f o r m a t i o n o n t h i s p r o d u c t , g o t o : w w w . f r e e s c a l e . c o m n c . . .
digital signal processing division 15 jsr ssi_rx_isr ;ssi receive data jsr ssi_rx_isr ;ssi receive data with exception jsr ssi_tx_isr ;ssi transmit data jsr ssi_tx_isr ;ssi transmit data with exception ;these interrupt service routines ;contained in the file ;tx_rx_isr.asm. ;see 56002 manual for information ;on interrupts org p:start movep #$261009,x:pll ;these labels are defined in the movep #0,x:bcr ;ada_init.asm program ori #3,mr ;set bit0 and bit1 in the mode ;register i.e. mask interrupts movec #0,sp ;clear hardware stack pointer move #0,omr ;mode 0;enabl int. pram;rst=0000 move #$40,r6 ; initialize stack pointer move #-1,m6 ; linear addressing ; these are used by the isrs include ada_init.asm ;initialize the codec tone_output equ headphone_en+lineout_en+(4*left_attn)+(4*right_attn) tone_input equ mic_in_select+(15*monitor_attn) loop_1 jset #2,x:ssisr,* ;wait for frame sync. to pass jclr #2,x:ssisr,* ;wait for frame sync move x:rx_buff_base,a ;move left sample into acc. a move x:rx_buff_base+1),b ;move right sample into acc. b jsr process_stereo ;jump to the subroutine which will ;process the samples move a,x:tx_buff_base ;move a into position from which ;it can be transmitted move b,x:tx_buff_base+1 ;move b into the position from ;which it can be transmitted move #tone_output,y0 ;set up control words move y0,x:tx_buff_base+2 move #tone_input,y0 move y0,x:tx_buff_base+3 jmp loop_1 process_stereo f r e e s c a l e s e m i c o n d u c t o r , i freescale semiconductor, inc. f o r m o r e i n f o r m a t i o n o n t h i s p r o d u c t , g o t o : w w w . f r e e s c a l e . c o m n c . . .
16 digital signal processing division nop nop nop rts lementation of digital filters can be found in most dsp textbooks. the filter described below will be implemented in the qsfilter.asm. filter order: m=2 no. of sections n=2 transpose direct form i cascade of 2nd order sections: h(z) = ? figure 7: example of a digital filter for a low pass filter with a cut-off of 1 khz, the coefficients by the filter design package are: b10 = 0.00371753 b11 = 0.00741518 a11 = 0.83384359 b12 = 0.00370753 a12 = -0.34867418 b20 = 0.00485158 b21 = 0.00970316 a21 = 0.86615109 b22 = 0.00485158 a22 = -0.38555753 z -1 z -1 z -1 z -1 x(n) y(n) b 10 b 11 b 12 a 11 a 12 b22 b21 b20 a 21 a 22 n i=1 b i0 + b i1 z -1 + b i2 z -2 1 + a i1 z -1 + ai2z -2 f r e e s c a l e s e m i c o n d u c t o r , i freescale semiconductor, inc. f o r m o r e i n f o r m a t i o n o n t h i s p r o d u c t , g o t o : w w w . f r e e s c a l e . c o m n c . . .
digital signal processing division 17 6.4 implementing the filter in the dsp the code which implements the filter is qsfilter.asm. the actual implementation is such that the audio is passed straight through for about the first ten seconds, then is filtered for ten seconds, then straight through, then filtered, and cycles like this until execution of the program is halted. ;************************************************************************** ;qsfilter : low pass filtering demo for dsp56002evm. ;will pass audio straight through for approximately ten seconds, then filter ;for ten seconds, then straight through, etc..etc..etc ;************************************************************************** start equ $40 org x:$10 coefd dc 0.00370753 ;b10 dc 0.5 ;scaling factor dc 0.00741518 ;b11 dc 0.83384359 ;a11 dc 0.00370753 ;b12 dc -0.34867418 ;a12 dc 0.00485158 ;b20 dc 0.5 ;scaling factor dc 0.00970316 ;b21 dc 0.86615109 ;a21 dc 0.00485158 ;b22 dc -0.38555753 ;a22 org y:$10 rtdelay bsc 4,$0 ;define 4 locations for rtdelay, ;initialize as 0 ltdelay bsc 4,$0 ;define 4 locations for ltdelay, ;initialize as 0 tempstore ds 1 ;define a single location for the ;temporary storage. org p:0 jmp start org p:$000c jsr ssi_rx_isr ;ssi receive data jsr ssi_rx_isr ;ssi receive data with exception jsr ssi_tx_isr ;ssi transmit data jsr ssi_tx_isr ;ssi transmit data with exception ;these interrupt service routines ;contained in the file ;tx_rx_isr.asm. ;see 56002 manual for information ;on interrupts f r e e s c a l e s e m i c o n d u c t o r , i freescale semiconductor, inc. f o r m o r e i n f o r m a t i o n o n t h i s p r o d u c t , g o t o : w w w . f r e e s c a l e . c o m n c . . .
18 digital signal processing division org p:start movep #$261009,x:pll ;these labels are defined in the movep #0,x:bcr ;ada_init.asm program ori #3,mr ;set bit0 and bit1 in the mode ;register i.e. mask interrupts movec #0,sp ;clear hardware stack pointer move #0,omr ;mode 0;enabl int. pram;rst=0000 move #$40,r6 ; initialize stack pointer move #-1,m6 ; linear addressing ; these are used by the isrs include ada_init.asm ;initialize the codec tone_output equ headphone_en+lineout_en+(4*left_attn)+(4*right_attn) tone_input equ mic_in_select+(15*monitor_attn) loop_1 do #$60,wait ;do for approximately 10 seconds do #$fff,wait_inner jset #2,x:ssisr,* ;wait for frame sync. to pass jclr #2,x:ssisr,* ;wait for frame sync move x:rx_buff_base,a ;move left sample into acc. a move x:rx_buff_base+1),b ;move right sample into acc. b move a,x:tx_buff_base ;move a into position from which ;it can be transmitted move b,x:tx_buff_base+1 ;move b into the position from ;which it can be transmitted move #tone_output,y0 ;set up control words move y0,x:tx_buff_base+2 move #tone_input,y0 move y0,x:tx_buff_base+3 wait nop wait_inner do #$60,wait2 ;do for approximately 10 seconds do #$fff,wait2_inner jset #2,x:ssisr,* ;wait for frame sync. to pass jclr #2,x:ssisr,* ;wait for frame sync move x:rx_buff_base,a ;move left sample into acc. a move x:rx_buff_base+1),b ;move right sample into acc. b jsr process_stereo ;jump to the subroutine which will f r e e s c a l e s e m i c o n d u c t o r , i freescale semiconductor, inc. f o r m o r e i n f o r m a t i o n o n t h i s p r o d u c t , g o t o : w w w . f r e e s c a l e . c o m n c . . .
digital signal processing division 19 ;process the samples move a,x:tx_buff_base ;move a into position from which ;it can be transmitted move b,x:tx_buff_base+1 ;move b into the position from ;which it can be transmitted move #tone_output,y0 ;set up control words move y0,x:tx_buff_base+2 move #tone_input,y0 move y0,x:tx_buff_base+3 wait2 nop wait2_inner jmp loop_1 process_stereo move #ltdelay,r0 ;set up pointer to left delay ;storage jsr filter ;filter the left sample move a,y:tempstorage ;filtered value in a, store it move b,a ;move the right sample into acc. a move #rtdelay,r0 ;set up pointer to right delay ;storage jsr filter ;filter the right sample move a,b ;move filtered right sample into b move y:tempstorage,a ;move filtered left sample into a rts filter move #linear,m0 ;set up addressing mode move m0,m4 ;set up the addressing mode ori #$08,mr ;enable the scaling mode do #2,stage asr a # 20 digital signal processing division macr y1,x1,a x:(r4)+,x1 ;a=(z-1)/2+(bi1*ip)+(ai1*op) ;x1 = bi2 mpy x1,x0,a x:(r4)+,x1 a,y:(r0)+ ;a=(bi1*ip) x1=ai2 save previous a macr y1,x1,a ;a=(bi1*ip)+(ai2*op) tfr y1,a x:(r4)+,x0 a,y:(r0)+ stage and #$f3,mr rts include txrx_isr.asm end f r e e s c a l e s e m i c o n d u c t o r , i freescale semiconductor, inc. f o r m o r e i n f o r m a t i o n o n t h i s p r o d u c t , g o t o : w w w . f r e e s c a l e . c o m n c . . .
digital signal processing division 21 7. conclusion you have now come to the end of the quick start document, and hopefully it has given you a good basic understanding of the evm. for further information please refer to the manuals provided. once is a trademark of motorola, inc. all product and brand names appearing herein are trademarks or registered trademarks of their respective holders. motorola and b are registered trademarks of motorola, inc. motorola, inc. is an equal opportunity/affirmative action employer. ? motorola inc., 1995 f r e e s c a l e s e m i c o n d u c t o r , i freescale semiconductor, inc. f o r m o r e i n f o r m a t i o n o n t h i s p r o d u c t , g o t o : w w w . f r e e s c a l e . c o m n c . . .


▲Up To Search▲   

 
Price & Availability of DSP56002EVMUM

All Rights Reserved © IC-ON-LINE 2003 - 2022  

[Add Bookmark] [Contact Us] [Link exchange] [Privacy policy]
Mirror Sites :  [www.datasheet.hk]   [www.maxim4u.com]  [www.ic-on-line.cn] [www.ic-on-line.com] [www.ic-on-line.net] [www.alldatasheet.com.cn] [www.gdcy.com]  [www.gdcy.net]


 . . . . .
  We use cookies to deliver the best possible web experience and assist with our advertising efforts. By continuing to use this site, you consent to the use of cookies. For more information on cookies, please take a look at our Privacy Policy. X